package com.hzhc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 散改集船舶信息
 * </p>
 *
 * @author 功不唐捐
 * @since 2024-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yw_order_ship")
public class YwOrderShip implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /**
     * 业务编号
     */
    private String orderNo;

    /**
     * 船名
     */
    private String shipName;

    /**
     * 品名
     */
    private String goodsName;

    /**
     * 货重
     */
    private String goodsWeight;

    /**
     * 卸货港
     */
    private String xhPort;

    /**
     * 卸船时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime arriveTime;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    /**
     * 是否删除
     */
    private Integer disable;

    /**
     * 创建人
     */
    private Long userId;

    /**
     * 修改人
     */
    private Long updateUserId;
    /**
     * 篷布收回箱
     */
    private Integer isBack;
    /**
    *  篷布未收回箱
    */
    private Integer noBack;
    /**
     * 备注
     */
    private String remark;
}
